package com.zkzx.common.freight.model;

import com.zkzx.common.company.model.CompanyVO;
import com.zkzx.common.driver.model.DriverVO;
import com.zkzx.common.truck.model.TruckVO;
import com.zkzx.common.vo.StatusVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 北京中科智兴物联科技有限公司 @版权所有
 *
 * @Author: zhaoyihe@zkraising.com
 * @Date: 2021/05/12/16:16
 * @Description:
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "OrderVO", description = "订单基础信息")
public class OrderVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "id", example = "10086")
    private Integer id;

    /**
     * 企业id
     */
    @ApiModelProperty(value = "企业id", name = "company_id",example = "10086")
    private Integer companyId;

    /**
     * CID
     */
    @ApiModelProperty(value = "订单cid", example = "setayd202105085555")
    private String cid;

    /**
     * 运单号
     */
    @ApiModelProperty(value = "运单号", name = "code",example = "2020121820000011")
    private String code;

    /**
     * 押运单照片
     */
    @ApiModelProperty(value = "押运单照片", name = "escort_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String escortPic;

    /**
     *装货照片
     */
    @ApiModelProperty(value = "装货照片", name = "load_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String loadPic;

    /**
     *签收照片
     */
    @ApiModelProperty(value = "签收照片", name = "sign_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String signPic;

    /**
     *卸货照片
     */
    @ApiModelProperty(value = "卸货照片", name = "discharg_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String dischargePic;

    /**
     * 司机id
     */
    @ApiModelProperty(value = "司机id", name = "driver_id",example = "10086")
    private Integer driverId;

    /**
     * 车辆id
     */
    @ApiModelProperty(value = "车辆id",name = "truckid",example = "10086")
    private Integer truckId;

    /**
     * 货运保险单号
     */
    @ApiModelProperty(value = "货运保险单号",name = "insurance_code",example = "bx202005088888888")
    private String insuranceCode;

    /**
     *超限证照片
     */
    @ApiModelProperty(value = "超限证照片", name = "overrun_pic",example = "/upload/20210508-89434dfsdf.jpg")
    private String overrunPic;

    /**
     *备注
     */
    @ApiModelProperty(value = "备注", example = "备注")
    private String remark;

    /**
     *异常原因
     */
    @ApiModelProperty(value = "异常原因注", example = "车辆异常")
    private String reason;

    /**
     *常用车辆
     */
    @ApiModelProperty(value = "是否为常用车辆", example = "YES")
    private String usual;


    /**
     *创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "create_time", example = "2021-05-09 12:44:44")
    private Date createTime;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", name = "status_vo", example = "状态")
    private StatusVO statusVO;

    /**
     * 订单信息-货物内容
     */
    @ApiModelProperty(value = "订单信息-货物内容", name = "order_item_vo")
    private OrderItemVO orderItemVO;

    /**
     * 订单信息-发货方信息收货信息
     */
    @ApiModelProperty(value = "订单信息-发货方信息收货信息", name = "order_delivery_vo")
    private OrderDeliveryVO orderDeliveryVO;

    /**
     * 运单轨迹
     */
    @ApiModelProperty(value = "运单轨迹", name = "order_Logisticss")
    private List<OrderLogisticsVO> orderLogisticss;

    /**
     *  运费信息
     */
    @ApiModelProperty(value = "运费信息", name = "order_Payable_vo")
    private OrderPayableVO orderPayableVO;

    /**
     * 司机信息
     */
    @ApiModelProperty(value = "司机信息",name = "driver_vo")
    private DriverVO driverVO;

    /**
     * 车辆信息
     */
    @ApiModelProperty(value = "车辆信息",name = "truck_vo")
    private TruckVO truckVO;

    /**
     * 车辆信息
     */
    @ApiModelProperty(value = "企业信息",name = "company_vo")
    private CompanyVO companyVO;



}
